package com.ems.servlet;

import jakarta.servlet.RequestDispatcher;
import jakarta.servlet.ServletException;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;
@WebServlet("/employee_add")
public class EmpAddServlet extends HttpServlet {
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {;
        RequestDispatcher dispatcher = request.getRequestDispatcher("/WEB-INF/admin/employee_add.jsp");
        dispatcher.forward(request, response);
    }
}
